
public class TArchiveFile 
{
    private Long id;
    private TFile file;
    private String compressor;  
    private Long size;
    private Integer ratio;
    private long time;
    private String compression_level;
//------------------------------------------------------------------------------
    TArchiveFile(){}
    public TArchiveFile(String compressor, Long arch_file_size, 
                        Integer ratio, long time, String compression_level, TFile file)
    {
        this.compressor = compressor;
        this.size = arch_file_size;
        this.ratio = ratio;
        this.time = time;
        this.compression_level = compression_level;
        this.file = file;
    }
    public Long getid() 
    {
        return id;
    }

    public void setid(Long arch_file_id) 
    {
        this.id = arch_file_id;
    }
    public TFile getfile() 
    {
        return file;
    }

    public void setfile(TFile file) 
    {
        this.file = file;
    }
    public String getcompressor() 
    {
        return compressor;
    }

    public void setcompressor(String compressor) 
    {
        this.compressor = compressor;
    }
    public Long getsize()
    {
        return size;
    }
    public void setsize(Long arch_file_size)
    {
        this.size = arch_file_size;
    }
    public int getratio()
    {
        return ratio;
    }
    public void setratio(int ratio)
    {
        this.ratio = ratio;
    }
    public long gettime()
    {
        return time;
    }
    public void settime(long time)
    {
        this.time = time;
    }
    public String getcompression_level()
    {
        return compression_level;
    }
    public void setcompression_level(String compression_level)
    {
        this.compression_level = compression_level;
    }
//    public boolean equals(Object other) 
//    {
//        if (this == other) return true;
//        if (!(other instanceof CryptoFile)) return false;
//
//        final CryptoFile crypto_file = (CryptoFile) other;
//
//        return true;
//    }
    
}
